<?php
require_once(CORE_DIR.'Logger.php');

class Action{
	protected $view = null;
	protected $logger;
	
	function __construct() {
		$this->logger = new Logger();
	}

	public function run($get, $post, $viewtype) {
		$this->view->setRenderType($viewtype);

		if(!isset($this->logger))
			$this->logger = new Logger();			
	}
}
?>